package com.yan.domain;

public class Player extends Person{
    public String work;

    public Player(String work) {
        this.work = work;
    }

    public Player(String name, int age, String work) {
        super(name, age);
        this.work = work;
    }

    @Override
    public void intruduction() {
        //super.intruduction();
        System.out.println("子类继承父类方法重写");
    }
}
